package com.samuel.mybatis.objectfactory;

import java.util.List;
import java.util.Properties;

import org.apache.ibatis.reflection.factory.DefaultObjectFactory;

@SuppressWarnings("serial")
public class MyObjectFactory extends DefaultObjectFactory {

	@SuppressWarnings("rawtypes")
	public Object create(Class type) {
		System.out.println(" ------- CREATE -------");
		return super.create(type);
	}

	@SuppressWarnings("rawtypes")
	public Object create(Class type, List<Class> constructorArgTypes, List<Object> constructorArgs) {
		return super.create(type, constructorArgTypes, constructorArgs);
	}

	public void setProperties(Properties properties) {
		super.setProperties(properties);
	}
}
